package ImsNRMSystem;
/**
 * Generated from IDL enum "NcLinkTypeType".
 *
 * @author JacORB IDL compiler V 2.3.0, 17-Feb-2007
 * @version generated at 2013-5-20 22:07:19
 */

public final class NcLinkTypeType
	implements org.omg.CORBA.portable.IDLEntity
{
	private int value = -1;
	public static final int _VMSC_SERVER = 0;
	public static final NcLinkTypeType VMSC_SERVER = new NcLinkTypeType(_VMSC_SERVER);
	public static final int _GMSC_SERVER = 1;
	public static final NcLinkTypeType GMSC_SERVER = new NcLinkTypeType(_GMSC_SERVER);
	public static final int _TMSC_SERVER = 2;
	public static final NcLinkTypeType TMSC_SERVER = new NcLinkTypeType(_TMSC_SERVER);
	public int value()
	{
		return value;
	}
	public static NcLinkTypeType from_int(int value)
	{
		switch (value) {
			case _VMSC_SERVER: return VMSC_SERVER;
			case _GMSC_SERVER: return GMSC_SERVER;
			case _TMSC_SERVER: return TMSC_SERVER;
			default: throw new org.omg.CORBA.BAD_PARAM();
		}
	}
	public String toString()
	{
		switch (value) {
			case _VMSC_SERVER: return "VMSC_SERVER";
			case _GMSC_SERVER: return "GMSC_SERVER";
			case _TMSC_SERVER: return "TMSC_SERVER";
			default: throw new org.omg.CORBA.BAD_PARAM();
		}
	}
	protected NcLinkTypeType(int i)
	{
		value = i;
	}
	java.lang.Object readResolve()
	throws java.io.ObjectStreamException
	{
		return from_int(value());
	}
}
